__author__ = 'East'

# 函数即变量
# def foo():
#     print('in the foo')
#     bar()
# foo()

# def bar():
#     print('in the bar')
#
# def foo():
#     print('in the foo')
#     bar()
# foo()

# def foo():
#     print('in the foo')
#     bar()
# foo()
# def bar():
#     print('in the bar')

# 匿名函数
calc = lambda x : x * 3
print(calc(3))
